/******************************************************************************/
/*                                 COPYRIGHT                                  */
/*          Copyright (C) 2013-2022 COOCAA Inc. All Rights Reserved.          */
/******************************************************************************/
/*                               MODIFY HISTORY                               */
/*  YYYYMMDD   OWNER               DESCRIPTION                                */
/*  20221027   Lin Xinwang         Init Version                               */
/******************************************************************************/
// 
let _onMessageRecvDo: Function = null;
function setPageMsgProcessor(func: Function) {
    _onMessageRecvDo = func;
}
function getPageMsgProcessor(): Function {
    return _onMessageRecvDo;
}
let pageMsgRecvProcessor = { getPageMsgProcessor, setPageMsgProcessor };


// 活动规则
let _rule: string = '';
function setRuleInfo(info: string) {
    _rule = info;
}
function getRuleInfo(): string {
    return _rule;
}
let ruleInfo = { getRuleInfo, setRuleInfo };

// 具体奖项信息

let _turnsInfo: any = null;
function setTurnsInfo(obj: any) {
    _turnsInfo = obj;
}
function getTurnsInfo(): string {
    return _turnsInfo;
}
let turnsInfo = { getTurnsInfo, setTurnsInfo };


export default {
    pageMsgRecvProcessor,
    ruleInfo,
    turnsInfo
}

